package com.kyyc.luff.testb.fegin.fallback;

import com.kyyc.luff.core.result.ResultView;
import com.kyyc.luff.testb.fegin.RemoteTestaService;
import lombok.Setter;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

@Slf4j
@Component
public class RemoteTestaServiceFallback implements RemoteTestaService {

    @Setter
    private Throwable cause;

    @Override
    public ResultView a() {
        return ResultView.error();
    }
}
